package fr.neyb.wesb.core.data.descriptors.field;

import java.util.Comparator;

import fr.neyb.wesb.core.data.compare.Order;
import fr.neyb.wesb.core.data.content.Field;

public interface ComparableTypedFieldDescriptor extends FieldDescriptor {
	
	Class<? extends Comparator<Field>> getComparatorClass();
	
	void setComparatorClass(Class<? extends Comparator<Field>> compClass);
	
	Comparator<Field> getComparator(Order o);

}
